<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>Document</title>
		<style>
			* {
				padding: 0;
				margin: 0;
			}
			body,
			html {
				width: 100%;
				height: 100%;
			}

            .header{
                display: block;
                width: fit-content;
                margin: 0 auto;
            }
			.container {
				width: 100%;
			}

			.attr {
				width: 100%;
			}
			.attr img {
				width: 100%;
				height: auto;
			}
		</style>
	</head>
	<body>
        <header class="header">这是标题</header>
		<div class="container">
			<div class="attr">
				<img src="./banner.jpeg" alt="无法加载" />
			</div>
		</div>
	</body>
</html>
